
public class JwiKTest
{
	//public int Led1 = BrikPins.GPIO1;
	//public int Led2 = BrikPins.GPIO2;
	
	public MathTest mathTest = new MathTest();

	public void main(String[] args)
	{
		int c;

		c=mathTest.AddTwoNumbers(2,2);		
		/*
		BrikPins.SetIoFunction(Led1,BrikPins.OUTPUT);
		BrikPins.SetIoFunction(Led2,BrikPins.OUTPUT);
		while(true)
		{
			BrikPins.SetIoState(Led1,BrikPins.ON);
			BrikPins.SetIoState(Led2,BrikPins.OFF);
			BrikClock.WaitMsec(3000);

			BrikPins.SetIoState(Led2,BrikPins.ON);
			BrikPins.SetIoState(Led1,BrikPins.OFF);
			BrikClock.WaitMsec(3000);
		}
		*/
	}
	
	// This is the processor's reset event handler.  It will be automatically called by the
	// Brik native interface whenever a reset happens.  The reason is passed as a parameter
	private void OnReset(int resetReason)
	{
		switch(resetReason)
		{
			case Brik.WakeOnPOR:
				break;
			case Brik.WakeOnWatchdog:
				break;
		}
		
	}
}